package geektime.spring.springbucks.waiter.mapper;

import geektime.spring.springbucks.waiter.model.CoffeeOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface OrderCoffeeMapper {

    int save(@Param("coffeeOrderId")Long coffeeOrderId,@Param("itemsId")Long itemsId);

    int saveList(CoffeeOrder order);
}
